/*
 * analytics.wsdl web service operations
 * implemention
 *
 */
#include "../soapH.h"
#include "../onvif.h"
//#include "analytics_service.h"

int get_analyticservice_cap(struct soap *soap, struct tan__Capabilities *analytics)
{
	if(soap == NULL || analytics == NULL)
	{
		DBG("invalid params!\n");
		return -1;
	}

	analytics->__size = 0;
	analytics->__any = NULL;
	analytics->__anyAttribute = NULL;

	return 0;
}

//=====================================================================================//
/** Auto-test server operation __tan__GetSupportedRules */
int __tan__GetSupportedRules(struct soap *soap, struct _tan__GetSupportedRules *tan__GetSupportedRules, struct _tan__GetSupportedRulesResponse *tan__GetSupportedRulesResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __tan__CreateRules */
int __tan__CreateRules(struct soap *soap, struct _tan__CreateRules *tan__CreateRules, struct _tan__CreateRulesResponse *tan__CreateRulesResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __tan__DeleteRules */
int __tan__DeleteRules(struct soap *soap, struct _tan__DeleteRules *tan__DeleteRules, struct _tan__DeleteRulesResponse *tan__DeleteRulesResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __tan__GetRules */
int __tan__GetRules(struct soap *soap, struct _tan__GetRules *tan__GetRules, struct _tan__GetRulesResponse *tan__GetRulesResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __tan__ModifyRules */
int __tan__ModifyRules(struct soap *soap, struct _tan__ModifyRules *tan__ModifyRules, struct _tan__ModifyRulesResponse *tan__ModifyRulesResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __tan__GetServiceCapabilities */
int __tan__GetServiceCapabilities(struct soap *soap, struct _tan__GetServiceCapabilities *tan__GetServiceCapabilities, struct _tan__GetServiceCapabilitiesResponse *tan__GetServiceCapabilitiesResponse)
{	
	/* Return incomplete response with default data values */
	INFO(stderr);

	tan__GetServiceCapabilitiesResponse->Capabilities = (struct tan__Capabilities *)soap_malloc(soap, sizeof(struct tan__Capabilities));
	get_analyticservice_cap(soap, tan__GetServiceCapabilitiesResponse->Capabilities);

	return SOAP_OK;
}


/** Auto-test server operation __tan__GetSupportedAnalyticsModules */
int __tan__GetSupportedAnalyticsModules(struct soap *soap, struct _tan__GetSupportedAnalyticsModules *tan__GetSupportedAnalyticsModules, struct _tan__GetSupportedAnalyticsModulesResponse *tan__GetSupportedAnalyticsModulesResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __tan__CreateAnalyticsModules */
int __tan__CreateAnalyticsModules(struct soap *soap, struct _tan__CreateAnalyticsModules *tan__CreateAnalyticsModules, struct _tan__CreateAnalyticsModulesResponse *tan__CreateAnalyticsModulesResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __tan__DeleteAnalyticsModules */
int __tan__DeleteAnalyticsModules(struct soap *soap, struct _tan__DeleteAnalyticsModules *tan__DeleteAnalyticsModules, struct _tan__DeleteAnalyticsModulesResponse *tan__DeleteAnalyticsModulesResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __tan__GetAnalyticsModules */
int __tan__GetAnalyticsModules(struct soap *soap, struct _tan__GetAnalyticsModules *tan__GetAnalyticsModules, struct _tan__GetAnalyticsModulesResponse *tan__GetAnalyticsModulesResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __tan__ModifyAnalyticsModules */
int __tan__ModifyAnalyticsModules(struct soap *soap, struct _tan__ModifyAnalyticsModules *tan__ModifyAnalyticsModules, struct _tan__ModifyAnalyticsModulesResponse *tan__ModifyAnalyticsModulesResponse)
{	
	return SOAP_OK;
}
